package com.zjuee.service.company.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zjuee.base.dto.common.company.CompanyDto;
import com.zjuee.base.model.common.company.Company;
import com.zjuee.service.company.vo.CompanyRspVo;
import com.zjuee.service.company.vo.CompanyVo;
import com.zjuee.service.company.vo.LoginRespVo;

public interface CompanyService extends IService<Company> {

    Long add(CompanyVo companyVo);

    Boolean update(CompanyVo companyVo);

    CompanyVo selectById(Long id, Long validateId);

    Company selectBaseById(Long id, Long lo);

    CompanyRspVo selectPartInfoById(Long id);

    /**
     * 获取带分页、排序
     *
     * @param dto CompanyDto
     * @return Page<Company>
     */
    Page<Company> list(CompanyDto dto);

    //获取信息
    LoginRespVo selectLoginInfo();

}
